<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>用户列表</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta http-equiv="Access-Control-Allow-Origin" content="*">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<link href="../../lib/layui-v2.5.4/css/layui.css" rel="stylesheet" />
		<link rel="stylesheet" href="../../css/layuimini.css" media="all">
		<link rel="stylesheet" href="../../css/public.css" media="all">
		<link rel="stylesheet" href="../../lib/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
		<link rel="stylesheet" href="css/index.css" media="all" />
		<link rel="stylesheet" href="../oilCardManage/css/index.css" media="all" />
		<style>
			.topcon{
				height: 33px;
			    background-color: #f2f2f2;
			    margin-bottom: -7px;
			    line-height: 33px;
			    text-align: right;
			    padding-right: 20px;
			}
		</style>
	</head>
	<body>
		
		<div class="layuimini-container">
			<fieldset class="layui-elem-field layui-field-title" style="margin-bottom: 0px;">
			  <legend><!--当前账号是否为超级管理员:-->用户管理<b></b></legend>
			</fieldset>
			<div class="layuimini-container">
				<div class="layui-col-lg12">
					<div class="layui-form">
			        	<div class="layui-col-lg11 search1">
			        		<div class="layui-form-item">
			        			<label class="layui-form-label">用户名</label>
							    <div class="layui-input-inline">
							      <input type="text" name="userName" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
							    </div>
			        		</div>
			        		<div class="layui-form-item">
			        			<label class="layui-form-label">上级代理</label>
							    <div class="layui-input-inline">
							      <select name="agentIds" lay-filter="agentIds" lay-search="">
							        <option value="">请输入代理名</option>
							        <option value="0">男</option>
							        <option value="1">女</option>
							      </select>
							    </div>
			        		</div>
			        		<div class="layui-form-item">
			        			<label class="layui-form-label">状态</label>
							    <div class="layui-input-block">
							      <select name="isStatus" lay-filter="isStatus">
							        <option value=""></option>
							        <option value="0">正常</option>
							        <option value="1">冻结</option>
							      </select>
							    </div>
			        		</div>
			        		<div class="layui-form-item" style="width: 28%;">
			        			<label class="layui-form-label">注册时间</label>
							    <div class="layui-input-block">
						           <input type="text" name="creDate" id="date1" autocomplete="off" class="layui-input">
						        </div>
			        		</div>
			        		<!--<div class="layui-form-item">
			        			<label class="layui-form-label" style="background-color: #929292;">住址</label>
							    <div class="layui-input-inline">
							      <input type="text" name="address" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" disabled="disabled">
							    </div>
			        		</div>-->
			        		<!--<div class="layui-form-item">
			        			<label class="layui-form-label">身份证</label>
							    <div class="layui-input-inline">
							      <input type="text" name="identity" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
							    </div>
			        		</div>
			        		<div class="layui-form-item">
			        			<label class="layui-form-label">手机号</label>
							    <div class="layui-input-inline">
							      <input type="text" name="phone" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
							    </div>
			        		</div>
			        		<div class="layui-form-item">
			        			<label class="layui-form-label">微信号</label>
							    <div class="layui-input-inline">
							      <input type="text" name="vxCode" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
							    </div>
			        		</div>-->
			        		<!--<div class="layui-form-item">
			        			<label class="layui-form-label">性别</label>
							    <div class="layui-input-block">
							      <select name="sex" lay-filter="sex">
							        <option value=""></option>
							        <option value="0">男</option>
							        <option value="1">女</option>
							      </select>
							    </div>
			        		</div>
			        		<div class="layui-form-item">
			        			<label class="layui-form-label">状态</label>
							    <div class="layui-input-block">
							      <select name="isStatus" lay-filter="isStatus">
							        <option value=""></option>
							        <option value="0">正常</option>
							        <option value="1">冻结</option>
							      </select>
							    </div>
			        		</div>-->
			        		<!--<div class="layui-form-item">
			        			<label class="layui-form-label">生日</label>
							    <div class="layui-input-block">
						           <input type="text" name="birthday" id="date1" autocomplete="off" class="layui-input">
						        </div>
			        		</div>-->
			        		
			        		
			        		<!--<div class="layui-form-item" style="width: 40%;">
								<label class="layui-form-label" style="width: 190px;">请选择地区</label>
									<div class="layui-input-block">
										<select name="province" class="province" lay-verify="required" lay-search lay-filter="province">
											<option value="">省份</option>
										</select>
									</div>
									<div class="layui-input-block">
				                        <select name="city" class="city" lay-verify="required" lay-search lay-filter="city">
				                            <option value="">市级</option>
				                        </select>
									</div>
									<div class="layui-input-block">
										<select name="district" class="district" lay-verify="required" lay-search>
											<option value="">县/区</option>
										</select>
									</div>
							</div>-->
							
							<!--<div class="layui-form-item">
			        			<label class="layui-form-label">创建日期</label>
							    <div class="layui-input-block">
						           <input type="text" name="creDate" id="date2" autocomplete="off" class="layui-input">
						        </div>
			        		</div>
			        		
			        		<div class="layui-form-item">
			        			<label class="layui-form-label">修改日期</label>
							    <div class="layui-input-block">
						           <input type="text" name="updDate" id="date3" autocomplete="off" class="layui-input">
						        </div>
			        		</div>-->
							
							<div class="layui-form-item" style="width: 10%;">
			        			<button class="layui-btn layui-btn-normal" lay-filter="search" style="background-color: #59bbb2;margin-left: 0.7em;">搜索</button>
			        			<!--<button class="layui-btn layui-btn-normal" lay-filter="addUser">添加用户</button>-->
			        		</div>
							
			        	</div>
			        	<!--<div class="layui-col-lg1" style="padding-left: 6%;">
			        		<!--<button class="layui-btn layui-btn-normal" lay-filter="addAdmin">添加管理员</button>
			        		&nbsp;
			        	</div>-->
				        
				    </div>
				</div>
				
				<div class="layui-col-lg12">
					<div class="top_search">
						<div class="search_left">
							<i class="layui-icon layui-icon-refresh"></i>
							
							<button class="layui-btn addbtn" lay-filter="editUser" style="margin-left: 0px;">
								<i class="layui-icon layui-icon-survey"></i><span class="editUserbtn1" data-type="getCheckData">编辑</span>
							</button>
							
							
						</div>

					</div>
				</div>
			    
			</div>
			<div style="clear: both;"></div>
			<div class="layuimini-container topcon">
				<b></b>
			</div>
			<table id="table1" lay-filter="table1">

			</table>
		</div>
		
		<script type="text/html" id="userInfo">
		    <div class="layuimini-container" style="width: 800px; min-width: 800px;margin-top: 3em;">
				<div class="layui-form addAgentInfo">
					
					<div class="layui-form-item">
						<label class="layui-form-label">用户名</label>
						<div class="layui-input-block">
							<input type="text"  name="name" required lay-verify="required" placeholder="用户名" autocomplete="off" class="layui-input" readonly="readonly">
						</div>
						<div class="layui-form-mid layui-word-aux"></div>
					</div>
					
					<div class="layui-form-item">
						<label class="layui-form-label">昵称</label>
						<div class="layui-input-block">
							<input type="text"  name="userName1" required lay-verify="required" placeholder="昵称" autocomplete="off" class="layui-input">
						</div>
						<div class="layui-form-mid layui-word-aux"></div>
					</div>
					
					<div class="layui-form-item">
						<label class="layui-form-label">手机号</label>
						<div class="layui-input-block">
							<input type="text"  name="phone" required lay-verify="required" placeholder="电话" autocomplete="off" class="layui-input" readonly="readonly">
						</div>
						<div class="layui-form-mid layui-word-aux"></div>
					</div>
					
					<div class="layui-form-item">
						<label class="layui-form-label">油币</label>
						<div class="layui-input-block">
							<input type="text"  name="balance" required lay-verify="required" placeholder="余额" autocomplete="off" class="layui-input">
						</div>
						<div class="layui-form-mid layui-word-aux"></div>
					</div>
					
					<div class="layui-form-item">
						<label class="layui-form-label">礼币</label>
						<div class="layui-input-block">
							<input type="text"  name="user_icon" required lay-verify="required" placeholder="金币" autocomplete="off" class="layui-input">
						</div>
						<div class="layui-form-mid layui-word-aux"></div>
					</div>
					
					<div class="layui-form-item">
						<label class="layui-form-label">状态</label>
						<div class="layui-input-block">
							<select name="isStatus1" lay-filter="isStatus1">
								<option value="0">正常</option>
								<option value="1">冻结</option>
							</select>
						</div>
						<div class="layui-form-mid layui-word-aux"></div>
					</div>
					
					<div class="layui-form-item">
						<label class="layui-form-label">有效期</label>
						<div class="layui-input-block">
							<input type="text" name="expireDate" id="date20" autocomplete="off" class="layui-input">
						</div>
					</div>
					<input type="hidden" name="userId"/>
					
					<div class="layui-form-item">
						<label class="layui-form-label" style="background-color: #fff;"></label>
						<button class="layui-btn editUserSubmit" style="width: 100px;">确定</button>
						<button class="layui-btn reset layui-btn-normal" style="width: 100px;">关闭</button>
						<div class="layui-form-mid layui-word-aux"></div>
					</div>
				</div>
			</div>
		</script>
		
		<script src="../../lib/layui-v2.5.4/layui.js"></script>
		<script src="../../lib/jquery-3.4.1/jquery-3.4.1.min.js"></script>
		<script src="../../lib/jquery-3.4.1/cookie.js"></script>
		<script src="../../js/common.js"></script>
		<script src="js/index.js"></script>
		<script src="js/area.js"></script>
		<script src="js/selectMore.js"></script>
	</body>
</html>
